import 'package:fluro/fluro.dart';
import 'package:ls_work/routers/router_init.dart';
import 'page/elder_info_page.dart';
import 'page/elder_health_file_page.dart';
import 'page/elder_contract_page.dart';
import 'page/elder_care_selected_page.dart';

class ElderRouter implements IRouterProvider {
  static String elderInfoPage = "/elder/info_page";
  static String elderHealthFilePage = "/elder/health_file_page";
  static String elderContractPage = "/elder/contract_page";
  static String elderCareSelectedPage = "/elder/care_selected_page";
  // static String addressSelectPage = "/shop/addressSelect";

  @override
  void initRouter(FluroRouter router) {
    router.define(elderInfoPage,
        handler: Handler(handlerFunc: (_, params) => ElderInfoPage()));
    router.define(elderHealthFilePage,
        handler: Handler(handlerFunc: (_, params) => ElderHealthFilePage()));
    router.define(elderContractPage,
        handler: Handler(handlerFunc: (_, params) => ElderContractPage()));
    router.define(elderCareSelectedPage,
        handler: Handler(handlerFunc: (_, params) => ElderCareSelectedPage()));
    // router.define(addressSelectPage, handler: Handler(handlerFunc: (_, params) => AddressSelectPage()));
  }
}
